package fatworm.parser.syntree;

public class WhereExistsNode extends WhereAtomicNode{
	public ValueNode  value;
	public SelectNode subquery;
	public WhereExistsNode( ValueNode value , SelectNode subquery ){
		this.value = value; this.subquery = subquery;
	}
	
	public String toString(){
		return value+" exist ("+subquery+")";
	}
	public void accept( IWhereVisitor visitor ){
		visitor.visit( this );
	}
}
